home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / AVOGADRO / GRAPHING / TEXT_DRAW / !Text>Draw / !Run < prev    next >
Text File  |  1996-05-15  |  1KB  |  40 lines

  1. | > !Text>Draw.!Run
  2. |
  3. | Run file for Text>Draw
  4. |
  5. | by Chris Johnson
  6. |
  7. RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
  8. |
  9. If "<TextDraw$Running>" = "yes" Then Error "Text>Draw is already running"
  10. |
  11. IconSprites <Obey$Dir>.!Sprites
  12. |
  13. | Find path to file
  14. Set TextDraw$Dir <Obey$Dir>
  15. |
  16. If "<Font$Prefix>"="" Then Error You need to double click on !Fonts before running this application
  17. |
  18. set temp$flag 1
  19. RMEnsure ABCLibrary 0 set temp$flag 0
  20. RMensure ABCLibrary 4.00 if "<temp$flag>" = "1" Then Error 0 Old ABCLib installed Else RMLoad <Obey$Dir>.ABCLib
  21. RMensure ABCLibrary 4.00 Error You need the ABClibrary ver 4.00 or later installed
  22. |
  23. |
  24. set temp$flag 1
  25. RMEnsure CJWimpUtil 0 set temp$flag 0
  26. RMEnsure CJWimpUtil 0.17 if "<temp$flag>" = "1" Then Error 0 Old CJWimpUtil module installed Else RMLoad <Obey$Dir>.cjWimpUtil
  27. RMEnsure CJWimpUtil 0.17 Error You need the CJWimpUtil module installed
  28. |
  29. set temp$flag 1
  30. RMEnsure CJdrawUtil 0 set temp$flag 0
  31. RMEnsure CJdrawUtil 0.15 if "<temp$flag>" = "1" Then Error 0 Old CJdrawUtil installed Else RMLoad <Obey$Dir>.cjdrawUtil
  32. RMEnsure CJdrawUtil 0.15 Error You need the CJdrawUtil module installed
  33. unset temp$flag
  34. |
  35. | Check memory allocation
  36. WimpSlot -min 80K -max 80K
  37. |
  38. | Now start program
  39. Run <TextDraw$Dir>.!RunImage
  40.